{"version":3,"file":"cphttprequest.min.js","sources":["cphttprequest.js"],"names":["PShowWaitMessage","container_id","bHide","PCloseWaitMessage","obContainer","document","getElementById","window","ajaxMessages","wait","innerHTML","style","display","JCPHttpRequest","this","Action","InitThread","TID","Math","floor","random","SetAction","actionHandler","_Close","httpRequest","_OnDataReady","result","_CreateHttpObject","obj","XMLHttpRequest","e","ActiveXObject","_SetHandler","_this","__handlerReadyStateChange","readyState","s","responseText","code","start","indexOf","end","length","substr","i","eval","onreadystatechange","_MyEscape","str","escape","replace","_PrepareData","arData","prefix","data","name","Send","url","open","send","Post","setRequestHeader","__migrateSetHandler","obForm","obFrame","handler","__formResultHandler","contentWindow","body","addEventListener","attachEvent","MigrateFormToAjax","target","substring","obAJAXIndicator","createElement","type","value","appendChild","frameName","round","currentBrowserDetected","src","id","CPHttpRequest","opera","navigator","userAgent"],"mappings":"AAAA,QAASA,kBAAiBC,EAAcC,GAEvC,GAAIA,GAAS,KAAMA,EAAQ,KAC3BC,mBAAkBF,EAAcC,EAEhC,IAAIE,GAAcC,SAASC,eAAeL,EAE1C,IAAIG,EACJ,CACC,GAAIG,OAAOC,cAAgB,KAAMD,OAAOC,eACxC,KAAKD,OAAOC,aAAaC,KAAMF,OAAOC,aAAaC,KAAO,SAE1DL,GAAYM,UAAYH,OAAOC,aAAaC,IAE5C,IAAIP,EAAOE,EAAYO,MAAMC,QAAU,UAIzC,QAAST,mBAAkBF,EAAcC,GAExC,GAAIA,GAAS,KAAMA,EAAQ,KAE3B,IAAIE,GAAcC,SAASC,eAAeL,EAE1C,IAAIG,EACJ,CACCA,EAAYM,UAAY,EAExB,IAAIR,EAAOE,EAAYO,MAAMC,QAAU,QAKzC,QAASC,kBAERC,KAAKC,SAELD,MAAKE,WAAa,WAEjB,MAAO,KACP,CACC,GAAIC,GAAM,MAAQC,KAAKC,MAAMD,KAAKE,SAAW,IAC7C,KAAKN,KAAKC,OAAOE,GAAM,MAGxB,MAAOA,GAGRH,MAAKO,UAAY,SAASJ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